package com.joe.dev.springlearn.springmybatis.model;

import com.joe.dev.springlearn.springmybatis.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class User {

    @Autowired
    private UserService userService;

    @PostConstruct
    public void test(){
        System.out.println(123);
    }
}
